/*     */ package cn.j2e.portal.domain;
/*     */ 
/*     */ import java.io.Serializable;
/*     */ import java.sql.Timestamp;
/*     */ import java.util.Set;
/*     */ 
/*     */ public class Rights
/*     */   implements Serializable
/*     */ {
/*     */   private static final long serialVersionUID = -2328911042882967196L;
/*     */   private String pkid;
/*     */   private String rightSign;
/*     */   private String rightName;
/*     */   private String rightDesc;
/*     */   private Timestamp createTime;
/*     */   private Timestamp updateTime;
/*     */   private String correspondSysterm;
/*     */   private Set<Operation> operations;
/*     */   private Set<Role> roles;
/*     */ 
/*     */   public Set<Role> getRoles()
/*     */   {
/*  35 */     return this.roles;
/*     */   }
/*     */ 
/*     */   public void setRoles(Set<Role> roles) {
/*  39 */     this.roles = roles;
/*     */   }
/*     */ 
/*     */   public String getPkid() {
/*  43 */     return this.pkid;
/*     */   }
/*     */ 
/*     */   public void setPkid(String pkid) {
/*  47 */     this.pkid = pkid;
/*     */   }
/*     */ 
/*     */   public String getRightSign() {
/*  51 */     return this.rightSign;
/*     */   }
/*     */ 
/*     */   public void setRightSign(String rightSign) {
/*  55 */     this.rightSign = rightSign;
/*     */   }
/*     */ 
/*     */   public String getRightName() {
/*  59 */     return this.rightName;
/*     */   }
/*     */ 
/*     */   public void setRightName(String rightName) {
/*  63 */     this.rightName = rightName;
/*     */   }
/*     */ 
/*     */   public String getRightDesc() {
/*  67 */     return this.rightDesc;
/*     */   }
/*     */ 
/*     */   public void setRightDesc(String rightDesc) {
/*  71 */     this.rightDesc = rightDesc;
/*     */   }
/*     */ 
/*     */   public Timestamp getCreateTime() {
/*  75 */     return this.createTime;
/*     */   }
/*     */ 
/*     */   public void setCreateTime(Timestamp createTime) {
/*  79 */     this.createTime = createTime;
/*     */   }
/*     */ 
/*     */   public Timestamp getUpdateTime() {
/*  83 */     return this.updateTime;
/*     */   }
/*     */ 
/*     */   public void setUpdateTime(Timestamp updateTime) {
/*  87 */     this.updateTime = updateTime;
/*     */   }
/*     */ 
/*     */   public String getCorrespondSysterm() {
/*  91 */     return this.correspondSysterm;
/*     */   }
/*     */ 
/*     */   public void setCorrespondSysterm(String correspondSysterm) {
/*  95 */     this.correspondSysterm = correspondSysterm;
/*     */   }
/*     */ 
/*     */   public Set<Operation> getOperations() {
/*  99 */     return this.operations;
/*     */   }
/*     */ 
/*     */   public void setOperations(Set<Operation> operations) {
/* 103 */     this.operations = operations;
/*     */   }
/*     */ 
/*     */   public int hashCode()
/*     */   {
/* 108 */     int result = this.pkid != null ? this.pkid.hashCode() : 0;
/* 109 */     result = 31 * result + (this.rightSign != null ? this.rightSign.hashCode() : 0);
/* 110 */     result = 31 * result + (this.rightName != null ? this.rightName.hashCode() : 0);
/* 111 */     result = 31 * result + (this.rightDesc != null ? this.rightDesc.hashCode() : 0);
/* 112 */     result = 31 * result + (this.createTime != null ? this.createTime.hashCode() : 0);
/* 113 */     result = 31 * result + (this.updateTime != null ? this.updateTime.hashCode() : 0);
/* 114 */     result = 31 * result + (this.correspondSysterm != null ? this.correspondSysterm.hashCode() : 0);
/* 115 */     return result;
/*     */   }
/*     */ 
/*     */   public boolean equals(Object o)
/*     */   {
/* 120 */     if (this == o) return true;
/* 121 */     if ((o == null) || (getClass() != o.getClass())) return false;
/*     */ 
/* 123 */     Rights rights = (Rights)o;
/*     */ 
/* 125 */     if (this.correspondSysterm != null ? !this.correspondSysterm.equals(rights.correspondSysterm) : rights.correspondSysterm != null)
/* 126 */       return false;
/* 127 */     if (this.createTime != null ? !this.createTime.equals(rights.createTime) : rights.createTime != null) return false;
/* 128 */     if (this.pkid != null ? !this.pkid.equals(rights.pkid) : rights.pkid != null) return false;
/* 129 */     if (this.rightDesc != null ? !this.rightDesc.equals(rights.rightDesc) : rights.rightDesc != null) return false;
/* 130 */     if (this.rightName != null ? !this.rightName.equals(rights.rightName) : rights.rightName != null) return false;
/* 131 */     if (this.rightSign != null ? !this.rightSign.equals(rights.rightSign) : rights.rightSign != null) return false;
/* 132 */     if (this.updateTime != null ? !this.updateTime.equals(rights.updateTime) : rights.updateTime != null) return false;
/*     */ 
/* 134 */     return true;
/*     */   }
/*     */ }

/* Location:           C:\Users\Administrator\.m2\repository\cn\ruida\sms\portal\domain\1.0.0-SNAPSHOT\domain-1.0.0-20140701.095003-108.jar
 * Qualified Name:     cn.j2e.portal.domain.Rights
 * JD-Core Version:    0.6.2
 */